<%@ page import="com.dbb.Product" %>



<div class="fieldcontain ${hasErrors(bean: productInstance, field: 'code', 'error')} ">
	<label for="code">
		<g:message code="product.code.label" default="Code" />
		
	</label>
	<g:textField name="code" value="${productInstance?.code}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: productInstance, field: 'logos', 'error')} ">
	<label for="logos">
		<g:message code="product.logos.label" default="Logos" />
	</label>
	<g:select name="logos" from="${com.dbb.Image.list()}" multiple="multiple" optionKey="id" size="5" value="${productInstance?.logos*.id}" class="many-to-many"/>
</div>

<div class="fieldcontain ${hasErrors(bean: productInstance, field: 'name', 'error')} ">
	<label for="name">
		<g:message code="product.name.label" default="Name" />
		
	</label>
	<g:textField name="name" value="${productInstance?.name}"/>
</div>

